<template>
    <div v-if="props.type === 'student'">
        <student></student>
    </div>
    <div v-else-if="props.type === 'sushe'">
        <Baoxiu></Baoxiu>
    </div>
    <div v-else>
        <Weixiu></Weixiu>
    </div>
</template>

<script setup>
    // 接收参数
    const props = defineProps(['type'])
    import student from "./student.vue"
    import Baoxiu from "./baoxiu.vue"
    import Weixiu from "./weixiu.vue"
</script>

<style scoped>

</style>
